export { correlationMiddleware as correlation } from "../logging/correlation/middleware"
export { pinoMiddleware as pino } from "../logging/pino/middleware"
export { adminOnly } from "./adminOnly"
export { auditLog } from "./auditLog"
export { authenticated } from "./authenticated"
export { builderOnly } from "./builderOnly"
export { builderOrAdmin } from "./builderOrAdmin"
export { contentSecurityPolicy as csp } from "./contentSecurityPolicy"
export { csrf } from "./csrf"
export { errorHandling } from "./errorHandling"
export { featureFlagCookie } from "./featureFlagCookie"
export { internalApi } from "./internalApi"
export { ip } from "./ip"
export * as joiValidator from "./joi-validator"
export * as local from "./passport/local"
export * as google from "./passport/sso/google"
export * as oidc from "./passport/sso/oidc"
export { authError, ssoCallbackUrl } from "./passport/utils"
export { querystringToBody } from "./querystringToBody"
export { tenancy } from "./tenancy"
export { activeTenant } from "./activation"
export { workspaceBuilderOrAdmin } from "./workspaceBuilderOrAdmin"
import * as datasourceGoogle from "./passport/datasource/google"

export const datasource = {
  google: datasourceGoogle,
}
